﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Data;

namespace ArbabTravelsERP.Models
{
    public class CandidateModel
    {
        public CandidateModel() { }

        [Required(ErrorMessage = "Registration No is required")]
        public string REGISTRATION_NO { get; set; }
        public int USER_TYPE_ID { get; set; }

        [Required(ErrorMessage = "Please select Availing for")]
        public Nullable<int> AVAILING_TYPE_ID { get; set; }

        [Required(ErrorMessage = "Please select Source")]
        public Nullable<int> SOURCE_ID { get; set; }

        [Required(ErrorMessage = "Please select Status")]
        public Nullable<int> STATUS_ID { get; set; }
        public Nullable<int> VISIT_NUMBER { get; set; }

        [Required(ErrorMessage = "Please select Requirement type")]
        public Nullable<int> REQUIREMENT_ID { get; set; }
        public string LOGIN_ACCESS { get; set; }
        public string LOGIN_PASSWORD { get; set; }
        public string USER_IMAGE_PATH { get; set; }
        public string REMARK { get; set; }
        public bool IS_EXPERIENCED { get; set; }
        public string DOCUMENT_TYPE_ID { get; set; }
        public string DOCUMENT_PATH { get; set; }
        public bool IS_ACTIVE { get; set; }

        public string PASSPORT_NO { get; set; }
        public string PLACE_OF_ISSUE { get; set; }
        public string DATE_OF_ISSUE { get; set; }
        public string EXPIRY_DATE { get; set; }

        public string DRIVING_LICENCE_NUMBER { get; set; }
        public string DRIVING_PLACE_OF_ISSUE { get; set; }
        public string DRIVING_DATE_OF_ISSUE { get; set; }
        public string DRIVING_EXPIRY_DATE { get; set; }
        public string DRIVING_REMARK { get; set; }

        public Nullable<int> VEHICLE_TYPE_ID { get; set; }
        public Nullable<int> EDUCATION_TYPE_ID { get; set; }
        public Nullable<int> SPECIALIZATION_TYPE_ID { get; set; }
        public Nullable<int> UNIVERSITY_ID { get; set; }
        public string UNIVERSITY_YEAR_OF_PASSING { get; set; }
        public string CERTIFICATION { get; set; }
        public string CERTIFICATION_LEVEL { get; set; }
        public string INSTITUTE_NAME { get; set; }
        public string INSTITUE_YEAR_OF_PASSIN { get; set; }
        public string EDUCATIONAL_REMARK { get; set; }
        public bool IS_HIGHEST_QUALIFICATION { get; set; }
        public string USER_COMPANY_NAME { get; set; }
        public bool IS_CURRENT_COMPANY { get; set; }
        public Nullable<int> DESIGNATION_ID { get; set; }
        public Nullable<int> INDUSTRY_ID { get; set; }

        public string WORK_PERIOD_FROM { get; set; }
        public string WORK_PERIOD_TO { get; set; }
        public string WORK_EXP_COUNTRY_CODE { get; set; }
        public string WORK_EXP_STATE_CODE { get; set; }
        public string WORK_EXP_CITY_CODE { get; set; }

        public string CURRENT_LOCATION { get; set; }
        public Nullable<decimal> TOTAL_WORK_EXPERIENCE { get; set; }
        public Nullable<decimal> TOTAL_GULF_EXPERIENCE { get; set; }
        public string SKILLS { get; set; }
        public string EXP_REMARK { get; set; }

        [Required(ErrorMessage = "Please enter First Name")]
        public string FIRST_NAME { get; set; }
        public string MIDDLE_NAME { get; set; }

        [Required(ErrorMessage = "Please enter Last Name")]
        public string LAST_NAME { get; set; }
        public string FATHER_NAME { get; set; }
        public string MOTHER_NAME { get; set; }
        public string GENDER_CODE { get; set; }

        [Required(ErrorMessage = "Please enter Date of Birth")]
        public string DATE_OF_BIRTH { get; set; }
        public string PLACE_OF_BIRTH { get; set; }
        public Nullable<int> MARITAL_STATUS_ID { get; set; }

        [Required(ErrorMessage = "Please select Nationality")]
        public Nullable<int> NATIONALITY_ID { get; set; }


        [Required(ErrorMessage = "Please select Religion")]
        public Nullable<int> RELIGION_ID { get; set; }
        public Nullable<int> VISA_ID { get; set; }
        public Nullable<int> LANGUAGE_ID { get; set; }
        public bool IS_READ { get; set; }
        public bool IS_WRITE { get; set; }
        public bool IS_SPEAK { get; set; }

        public Nullable<int> ADDRESS_TYPE_ID { get; set; }
        public string ADDRESS { get; set; }
        public string STATE_CODE { get; set; }
        public string COUNTRY_CODE { get; set; }
        public string CITY_CODE { get; set; }
        public string PIN_CODE { get; set; }
        public string VILLAGE { get; set; }

        public string EMAIL_ID { get; set; }
        public string PHONE_TYPE_ID { get; set; }
        public string PHONE_NO { get; set; }

        public string WEBSITE { get; set; }
        public string SKYPE { get; set; }
        public string CONTACT_REMARK { get; set; }

        public string IS_EMIGRATION { get; set; }
        public string VEHICLE_TYPE { get; set; }

        public string BRANCH_CODE { get; set; }

        public string REFERENCE { get; set; }
        public string CIVILIAN_NO { get; set; }
        public string COMPANY_NAME { get; set; }
        public string NAME { get; set; }
        public int CLIENT_DESIGNATION { get; set; }
        public int CLIENT_INDUSTRY_ID { get; set; }
        public string GAMCA_NO { get; set; }
        public string LOCATION_CODE { get; set; }

        public DataSet GetAddressDetails { get; set; }
    }
}